<?php

class UserError extends Error
{
     public function __construct($msg, $action="stop")
    {
        $msg = "User Error: " . $msg;
        parent::__construct($msg, $action);
    }
}